package com.xfcy.blog.entity;

import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;

/**
 * 用户信息表(UserAuth)表实体类
 *
 * @author 晓风残月Lx
 * @since 2023-04-09 11:03:06
 */
@TableName("b_user_auth")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserAuth implements Serializable {
    //用户ID
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //邮箱号
    private String email;
    //用户昵称
    private String nickname;
    //用户头像
    private String avatar;
    //用户简介
    private String intro;
    //是否禁用
    private Integer isDisable;
    //创建时间
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    //更新时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

}

